package com.dzh.pojo;

import java.util.List;

public class Galley {
    private String name;
    private Integer id;
    private String location;
    private String type;
    private String status;
    private int bedrooms;
    private int bathrooms;
    private double price;
    private String detail;
    private String img;
    private String type2;
    private double size;
    private String city;
    private String address;
    private List<Comment> comments;
    private String detail2;
    private String img2;
//    private int pageNum;
//    private int pageSize;

    @Override
    public String toString() {
        return "Galley{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", location='" + location + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", bedrooms=" + bedrooms +
                ", bathrooms=" + bathrooms +
                ", price=" + price +
                ", detail='" + detail + '\'' +
                ", img='" + img + '\'' +
                ", type2='" + type2 + '\'' +
                ", size=" + size +
                ", city='" + city + '\'' +
                ", address='" + address + '\'' +
                ", comments=" + comments +
                ", detail2='" + detail2 + '\'' +
                ", img2='" + img2 + '\'' +
//                ", pageNum=" + pageNum +
//                ", pageSize=" + pageSize +
                '}';
    }

    public String getDetail2() {
        return detail2;
    }

    public void setDetail2(String detail2) {
        this.detail2 = detail2;
    }

    public String getImg2() {
        return img2;
    }

    public void setImg2(String img2) {
        this.img2 = img2;
    }

    public Galley(List<Comment> comments) {
        this.comments = comments;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Galley(String city, String address) {
        this.city = city;
        this.address = address;
    }

    public Galley(double size) {
        this.size = size;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public String getType2() {
        return type2;
    }

    public void setType2(String type2) {
        this.type2 = type2;
    }

    public Galley(String type2) {
        this.type2 = type2;
    }

    public Galley() {
    }

    public Galley(String name, Integer id, String location, String type, String status, int bedrooms, int bathrooms, double price, String detail, String img, String type2, double size, String city, String address, List<Comment> comments, String detail2, String img2, int pageNum, int pageSize) {
        this.name = name;
        this.id = id;
        this.location = location;
        this.type = type;
        this.status = status;
        this.bedrooms = bedrooms;
        this.bathrooms = bathrooms;
        this.price = price;
        this.detail = detail;
        this.img = img;
        this.type2 = type2;
        this.size = size;
        this.city = city;
        this.address = address;
        this.comments = comments;
        this.detail2 = detail2;
        this.img2 = img2;
//        this.pageNum = pageNum;
//        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getBedrooms() {
        return bedrooms;
    }

    public void setBedrooms(int bedrooms) {
        this.bedrooms = bedrooms;
    }

    public int getBathrooms() {
        return bathrooms;
    }

    public void setBathrooms(int bathrooms) {
        this.bathrooms = bathrooms;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

//    public int getPageNum() {
//        return pageNum;
//    }
//
//    public void setPageNum(int pageNum) {
//        this.pageNum = pageNum;
//    }
//
//    public int getPageSize() {
//        return pageSize;
//    }
//
//    public void setPageSize(int pageSize) {
//        this.pageSize = pageSize;
//    }
}
